package lt.ntec.danblog.server.core.model;

import java.util.List;

public interface BaseDAO<T extends Persistable> {

    public T getById(Long id);

    public Long save(T entity);

    public void delete(T entity);

    public void delete(Long id);

    public List<? extends T> getList();
}
